﻿<?php

	('Access-Control-Allow-Origin：*');
	// include("../xsdb.class.php");
	include("../mysql.php");
	$db = new mysql();
	$table=$_GET["resource"];
	$companyName=$_GET["companyName"];
	//prointroduce.html 页面resou.html  页面使用因为是用的layui 的页面
    $tables=$db->selectTbaleLlay($table,$companyName);
    $msg = [
        	 'code' => 200,
        	 'msg' => '查询成功',
             'data'=> $tables,
             'count' => count($tables)
        ];
	echo json_encode($msg);    
	$db->close();
	

?>
